package com.wondertek.poms.dao.repo;

import com.wondertek.poms.dao.po.Classify;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;


/**
 * @author gzx
 */
@Repository
public interface IClassifyDao extends JpaRepository<Classify,Long> {


    /** 查询专辑列表
     *@author gaozhengxing gaozhenghang@wondertek.com.cn
     *@date 2021/1/3 16:58
     *@param classifyId 专辑对应的节目id
     *@return  专辑列表*/
//    @Query(value = "select *  from CLASSIFY where CLASSIFY_ID = ?1", nativeQuery = true)
    Classify findClassifyByClassifyId(String classifyId);

    Classify findByClassifyName(String classifyName);
}
